package org.zfes.snowier.zbss.xzy.biz.device.model;
import org.zfes.snowier.core.data.IBaseModel;
public class DeviceChannel extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public DeviceChannel() {}
	public DeviceChannel(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	@javax.validation.constraints.NotNull(message="默认所属设备不能为空")
	private java.lang.Long deviceId;
	@javax.validation.constraints.NotNull(message="通道id不能为空")
	private java.lang.String channelId;
	@javax.validation.constraints.NotBlank(message="接入摄像头地址不能为空")
	@javax.validation.constraints.NotNull(message="接入摄像头地址不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="接入摄像头地址长度不能大于255")
	private java.lang.String cameraAddr;
	@org.hibernate.validator.constraints.Length(min=0,max=80,message="接入摄像头用户名长度不能大于80")
	private java.lang.String cameraUserName;
	@org.hibernate.validator.constraints.Length(min=0,max=80,message="接入摄像头密码长度不能大于80")
	private java.lang.String cameraPassword;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="视频名称长度不能大于100")
	private java.lang.String name;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="备注长度不能大于100")
	  private java.lang.String remark;
	  private java.lang.Byte status;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
 
	
	//<-------------------------------------------->
	public DeviceChannel setDeviceId(java.lang.Long deviceId){
	 this.deviceId=deviceId;
	 return this;
	}
	public java.lang.Long getDeviceId(){
		return this.deviceId;
	}
	public DeviceChannel setCameraAddr(java.lang.String cameraAddr){
		this.cameraAddr=cameraAddr==null?null:cameraAddr.trim();
	 return this;
	}
	public java.lang.String getCameraAddr(){
		return this.cameraAddr;
	}
	public DeviceChannel setCameraUserName(java.lang.String cameraUserName){
		this.cameraUserName=cameraUserName==null?null:cameraUserName.trim();
	 return this;
	}
	public java.lang.String getCameraUserName(){
		return this.cameraUserName;
	}
	public DeviceChannel setCameraPassword(java.lang.String cameraPassword){
		this.cameraPassword=cameraPassword==null?null:cameraPassword.trim();
	 return this;
	}
	public java.lang.String getCameraPassword(){
		return this.cameraPassword;
	}
	public DeviceChannel setName(java.lang.String name){
		this.name=name==null?null:name.trim();
	 return this;
	}
	public java.lang.String getName(){
		return this.name;
	}
	public DeviceChannel setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public DeviceChannel setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public DeviceChannel setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public DeviceChannel setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public java.lang.String getChannelId() {
		return channelId;
	}
	public void setChannelId(java.lang.String channelId) {
		this.channelId = channelId;
	}
	

}
